package Protect;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User:恋恋
 * Date:2022-09-09
 * Time:8:16
 */
public class B extends A{
    public void function(){
        super.a=30;
        super.b=40;
        super.c=20;
        //编译错误，private仅限在当前类中使用，只可以间接使用--Getting and Setting
        //super.d=10;
    }
}
